# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdeedu-data
pkgver=20.04.3
pkgrel=0
arch="noarch !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/education"
pkgdesc="Common data for KDE Edu applications"
license="GPL-2.0-only"
makedepends="extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdeedu-data-$pkgver.tar.xz"
options="!check" # No code to test"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="2863c767effd58c5ba460c94623859e63a12577adc780b35b2a5a744500f20e0663ec88774d75a1baee5afb85e9918cf5b09f630230560a758f4526ede154014  kdeedu-data-20.04.3.tar.xz"
